//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Alonzo Kings Lines Ballet','Kennedy Center Eisenhower Theater','Washington, DC','Thursday','5/16/2024','8:00 PM','6265386','Alonzo-Kings-Lines-Ballet-5-16-2024'],['Alonzo Kings Lines Ballet','Kennedy Center Eisenhower Theater','Washington, DC','Friday','5/17/2024','8:00 PM','6265387','Alonzo-Kings-Lines-Ballet-5-17-2024'],['Alonzo Kings Lines Ballet','Kennedy Center Eisenhower Theater','Washington, DC','Saturday','5/18/2024','8:00 PM','6265388','Alonzo-Kings-Lines-Ballet-5-18-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Wednesday','5/22/2024','8:00 PM','6333347','Washington-Ballet--Beyond-Boundaries-5-22-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Thursday','5/23/2024','8:00 PM','6333348','Washington-Ballet--Beyond-Boundaries-5-23-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Friday','5/24/2024','8:00 PM','6333349','Washington-Ballet--Beyond-Boundaries-5-24-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Saturday','5/25/2024','2:00 PM','6333350','Washington-Ballet--Beyond-Boundaries-5-25-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Saturday','5/25/2024','8:00 PM','6333351','Washington-Ballet--Beyond-Boundaries-5-25-2024'],['Washington Ballet: Beyond Boundaries','Kennedy Center Eisenhower Theater','Washington, DC','Sunday','5/26/2024','2:00 PM','6333352','Washington-Ballet--Beyond-Boundaries-5-26-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Friday','5/31/2024','7:30 PM','5887204','Pacific-Northwest-Ballet--Coppelia-5-31-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/1/2024','2:00 PM','5887205','Pacific-Northwest-Ballet--Coppelia-6-1-2024'],['Olympic Ballet Theatre','Edmonds Center For The Arts','Edmonds, WA','Saturday','6/1/2024','7:00 PM','6348944','Olympic-Ballet-Theatre-6-1-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/1/2024','7:30 PM','5887341','Pacific-Northwest-Ballet--Coppelia-6-1-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Tuesday','6/4/2024','7:30 PM','6265740','New-York-City-Ballet--Jewels-6-4-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Wednesday','6/5/2024','7:30 PM','6265741','New-York-City-Ballet--Jewels-6-5-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Thursday','6/6/2024','7:30 PM','6265742','New-York-City-Ballet--Jewels-6-6-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Thursday','6/6/2024','7:30 PM','5887342','Pacific-Northwest-Ballet--Coppelia-6-6-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Friday','6/7/2024','7:30 PM','6265743','New-York-City-Ballet--Jewels-6-7-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Friday','6/7/2024','7:30 PM','5888995','Pacific-Northwest-Ballet--Coppelia-6-7-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Saturday','6/8/2024','1:30 PM','6265744','New-York-City-Ballet--Jewels-6-8-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Saturday','6/8/2024','7:30 PM','6265745','New-York-City-Ballet--Jewels-6-8-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/8/2024','7:30 PM','5888996','Pacific-Northwest-Ballet--Coppelia-6-8-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Sunday','6/9/2024','1:00 PM','5889091','Pacific-Northwest-Ballet--Coppelia-6-9-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Sunday','6/9/2024','1:30 PM','6265746','New-York-City-Ballet--Jewels-6-9-2024'],['Artistry in Motion: Forever Dance','Martin Woldson Theatre At The Fox','Spokane, WA','Tuesday','6/11/2024','7:00 PM','6381151','Artistry-in-Motion--Forever-Dance-6-11-2024'],['Artistry in Motion: Forever Dance','Martin Woldson Theatre At The Fox','Spokane, WA','Wednesday','6/12/2024','7:00 PM','6381152','Artistry-in-Motion--Forever-Dance-6-12-2024'],['World Ballet Festival','First Interstate Center for the Arts','Spokane, WA','Friday','6/14/2024','7:00 PM','6209908','World-Ballet-Festival-6-14-2024'],['World Ballet Festival','First Interstate Center for the Arts','Spokane, WA','Saturday','6/15/2024','7:00 PM','6209909','World-Ballet-Festival-6-15-2024'],['World Ballet Festival','First Interstate Center for the Arts','Spokane, WA','Sunday','6/16/2024','6:00 PM','6209910','World-Ballet-Festival-6-16-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Tuesday','6/18/2024','7:30 PM','6265747','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-18-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Wednesday','6/19/2024','7:30 PM','6265748','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-19-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Thursday','6/20/2024','7:30 PM','6265749','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-20-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Friday','6/21/2024','7:30 PM','6265750','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-21-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Saturday','6/22/2024','1:30 PM','6265751','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-22-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Saturday','6/22/2024','7:30 PM','6265752','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-22-2024'],['10,000 Dreams: A Celebration of Asian Choreography','Kennedy Center Opera House','Washington, DC','Sunday','6/23/2024','1:30 PM','6265753','10-000-Dreams--A-Celebration-of-Asian-Choreography-6-23-2024'],['The Washington Ballet','Wolf Trap National Park for the Performing Arts','Vienna, VA','Thursday','9/5/2024','8:00 PM','6241008','The-Washington-Ballet-9-5-2024'],['World Ballet Company: Swan Lake','Paramount Theatre - Seattle','Seattle, WA','Saturday','10/12/2024','7:00 PM','6343826','World-Ballet-Company--Swan-Lake-10-12-2024'],['World Ballet Series: Swan Lake','First Interstate Center for the Arts','Spokane, WA','Sunday','10/13/2024','6:00 PM','6342656','World-Ballet-Series--Swan-Lake-10-13-2024'],['World Ballet Company','Mary W. Sommervold Hall at Washington Pavilion','Sioux Falls, SD','Tuesday','10/29/2024','7:00 PM','6371514','World-Ballet-Company-10-29-2024'],['Nutcracker! Magical Christmas Ballet','Moore Theatre - WA','Seattle, WA','Sunday','11/17/2024','1:00 PM','6366717','Nutcracker--Magical-Christmas-Ballet-11-17-2024'],['Nutcracker! Magical Christmas Ballet','Moore Theatre - WA','Seattle, WA','Sunday','11/17/2024','5:00 PM','6357675','Nutcracker--Magical-Christmas-Ballet-11-17-2024'],['Nutcracker! Magical Christmas Ballet','First Interstate Center for the Arts','Spokane, WA','Saturday','11/23/2024','3:00 PM','6372775','Nutcracker--Magical-Christmas-Ballet-11-23-2024'],['Nutcracker! Magical Christmas Ballet','Mary W. Sommervold Hall at Washington Pavilion','Sioux Falls, SD','Wednesday','12/4/2024','7:00 PM','6371516','Nutcracker--Magical-Christmas-Ballet-12-4-2024']],'The Washington Ballet','http://www.ticketnetwork.com/ticket/The-Washington-Ballet-events.aspx');